package com.lsk.servicemap.controller;

import com.lsk.internalcommon.DTO.ResponseResult;
import com.lsk.servicemap.service.DicDistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DicDistrictController {
    @Autowired
    private DicDistrictService districtService;


    @GetMapping("/dic_district")
    public ResponseResult DicDistrict(String keywords){

        return districtService.Initdicdistrict(keywords);
    }
}
